﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Common.Common;
using ZBJF.Warranty.Common.Enums.Base;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.BaseQueryModel;
using ZBJF.Warranty.Model.ViewModel.InsuranceProducts;
namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductsAuditProjectConfigurationMappingsService
    {

        IQueryable<InsuranceProductsAuditProjectConfigurationMappings> LoadByInsuranceProductID(
            long insuranceProductID);

        bool IsExist(long insuranceProductID, int auditProjectConfigurationID);

        /// <summary>
        /// 根据服务项目获取审核配置
        /// </summary>
        /// <param name="cellPhoneServiceProjectIDs"></param>
        /// <param name="serviceProjectType"></param>
        /// <param name="auditProjectWithType"></param>
        /// <returns></returns>
        List<InsuranceProductAuditProjectConfigurationSnapshoot> GetAuditProjectConfigurationList(List<int> cellPhoneServiceProjectIDs, ServiceProductType serviceProjectType, byte auditProjectWithType = 0);
    }
}
